import {
	request
} from '../request.js'

function getLastVersion() {
	// 整包更新
	// const data = {
	// 	name: 'sampling.apk'
	// }
	// 差一更新
	const data = {
		name: 'sampling.wgt'
	}
	return request({
		url: '/mon_file/get_by_name',
		method: 'get',
		data
	})
}

const SysUniappVersionApi = {
	getLastVersion
}

export default SysUniappVersionApi;